-
Home
-
StoreEngine – Powerful WordPress eCommerce Plugin for Payments, Memberships, Affiliates, Sales & More
-
1.0.0-beta-2
-
Code
-
Classes
- DownloadPermissionHooks
Total Complexity |
83 |
Dependencies |
3 |
Dependents |
0 |
Total lines |
384 |
Lines of code |
244 |
Logical lines of code |
169 |
Comment lines |
107 |
Methods |
12 |
Properties |
0 |
Methods 12
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
download_product() |
A |
47 |
16 |
28 |
get_download_range() |
A |
45 |
13 |
41 |
download_headers() |
A |
44 |
11 |
43 |
readfile_chunked() |
A |
48 |
10 |
35 |
give_permissions() |
A |
48 |
9 |
32 |
check_if_paid_after_status_change() |
A |
61 |
9 |
12 |
download_file_force() |
S |
62 |
4 |
10 |
get_download_content_type() |
S |
60 |
3 |
12 |
download_error() |
S |
59 |
3 |
12 |
init() |
S |
65 |
2 |
8 |
check_if_paid_after_checkout() |
S |
73 |
2 |
5 |
delete_permissions() |
S |
69 |
1 |
6 |